package Game;

public class People {
    private String name;
    private int level;
    public People(){}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public People(String name, int level){
        this.name=name;
        this.level=level;
    }
    public void selfintroduce(){
        System.out.println("我的名字叫"+this.name+"等级是"+this.level);
    }


}
